home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / html / vendors / softwarer / Images / Screen / Old / source.gif < prev    next >
Graphics Interchange Format  |  1997-06-25  |  8KB  |  543x426  |  1-bit (2 colors)
Labels: text | screenshot | display | rectangle | number | parallel
OCR: Xdigraph Ver 3.1 - View Source Action Help int char_index; main(argc,argv) /* simple program to pick a restaurant, to demo TCAT */ int argc; char *argv[]; int i, choice, c, answer; char str[STD_LEN]; BOOL ask, repeat; int proc_input(); C = 3; repeat = TRUE; while(repeat) { printf("\\n\n\n"); for(i = 0; i < MENU_CHOICES; i++) printf ("%s", menu[i]); gets(str); printf("\\n"); while(choice = proc_input(str)) { switch(choice) { case 1: printf ("\tFog City Diner 1300 Battery 982-2000 \n");